export default ({ store, req, route }) => {
  if (process.server) {
    store.commit('setMobileORManagement', !route.path.includes('/management/'))
    console.log(`当前打开页面是${!route.path.includes('/management/') ? 'C端' : '管理端'}`)
  }
}